package com.mes.biz.service;

import com.mes.biz.domain.BizPayable;
import com.mes.biz.domain.BizPayment;
import com.mes.common.core.service.BaseService;

import java.util.List;

/**
 * 收款单Service接口
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
public interface BizPaymentService extends BaseService<BizPayment> {


    /**
     * 创建收款单
     * @param bizPayment
     * @return
     */
    boolean createPayment(BizPayment bizPayment);

    /**
     * 修改收款单
     * @param bizPayment
     * @return
     */
    boolean updatePayment(BizPayment bizPayment);

    /**
     * 删除收款单
     * @param id
     * @return
     */
    boolean deletePayment(String id);


    List<BizPayment> getByAccountCode(String accountCode);

    boolean auditPayment(String id);
}
